# Makefile.am
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

ACLOCAL_AMFLAGS = -I m4

export GMP_INC=@gmp_inc@
export GMP_LIB=@gmp_lib@

SUBDIRS = gml4gtk-plugin

EXTRA_DIST = example

#
MAINTAINERCLEANFILES = \
	Makefile \
	Makefile.in \
	aclocal.m4 \
	configure \
	config.sub \
	config.guess \
	config.status \
	compile \
	depcomp \
	install-sh \
	ltmain.sh \
	missing \
	config.h.in \
	dmake.output \
	dsmake.output \
	dsmake.errors \
	dsmake.warnings \
	autoscan.log \
	configure.scan \
	config.h.in~ \
	config.log \
	stamp-h1 \
	config.h \
	gml4gtk-plugin/Makefile.in \
	gml4gtk-plugin/Makefile \
	src/*.i \
	src/*.s \
	autom4te.cache/* \
	m4/*.m4 \
	ylwrap \
	$(NULL)

#
cleaner:
	make distclean

#
distclean:
	make maintainer-clean-generic
	rm -vfr autom4te.cache
	rm -vfr gml4gtk-plugin/.deps
	rm -vfr gml4gtk-plugin/.libs
	rm -vf ./libtool
	rm -vfr ./m4
	rm -vf ./*~
	rm -vf ./O1
	rm -vf ./O2

